Digital preoperative assessment